package com.xgk.boot.module.core.dal.mapper.product;

import com.xgk.boot.framework.mybatis.core.mapper.BaseMapperX;
import com.xgk.boot.module.core.dal.dto.CustomerProductDto;
import com.xgk.boot.module.core.dal.entity.product.ProductCustomerDO;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.Collection;
import java.util.List;

@Mapper
public interface ProductCustomerMapper extends BaseMapperX<ProductCustomerDO> {


    List<CustomerProductDto>  listByCustomerIds(Collection<Long> customerIds);

    List<CustomerProductDto>  listByProductIds(Collection<Long> productIds);

}
